package com.esd.db.dao;

import java.util.List;
import java.util.Map;

import com.esd.db.model.voiceNote;
import com.esd.db.model.voiceNoteWithBLOBs;

public interface voiceNoteMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(voiceNote record);

    int insertSelective(voiceNote record);

    voiceNoteWithBLOBs selectByPrimaryKey(Integer id);
    
    List<voiceNote> selectAll(Map<String,Object> map);
    
    int selectAllCount(Map<String,Object> map);

    int updateByPrimaryKeySelective(voiceNote record);

    int updateByPrimaryKeyWithBLOBs(voiceNote record);

    int updateByPrimaryKey(voiceNote record);

	List<voiceNote> selectAllOrderByUpdateTimeDesc(Map<String, Object> map);

	int updateAllUserVoiceNoteNoticeFlag(int Flag);

	int updateUserVoiceNoteNoticeFlagByUserId(Map<String, Object> map);
}